package com.zf.apartment.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zf.apartment.domain.RoomPropertyRoomdata;

/**
 * 房间属性关系Mapper接口
 *
 * @author rxf
 * @date 2024-10-10
 */
public interface RoomPropertyRoomdataMapper extends BaseMapper<RoomPropertyRoomdata> {
    /**
     * 查询房间属性关系
     *
     * @param roomPropertyRoomDataId 房间属性关系主键
     * @return 房间属性关系
     */
    public RoomPropertyRoomdata selectRoomPropertyRoomdataByRoomPropertyRoomDataId(Long roomPropertyRoomDataId);

    /**
     * 查询房间属性关系列表
     *
     * @param roomPropertyRoomdata 房间属性关系
     * @return 房间属性关系集合
     */
    public List<RoomPropertyRoomdata> selectRoomPropertyRoomdataList(RoomPropertyRoomdata roomPropertyRoomdata);

    /**
     * 新增房间属性关系
     *
     * @param roomPropertyRoomdata 房间属性关系
     * @return 结果
     */
    public int insertRoomPropertyRoomdata(RoomPropertyRoomdata roomPropertyRoomdata);

    /**
     * 修改房间属性关系
     *
     * @param roomPropertyRoomdata 房间属性关系
     * @return 结果
     */
    public int updateRoomPropertyRoomdata(RoomPropertyRoomdata roomPropertyRoomdata);

    /**
     * 删除房间属性关系
     *
     * @param roomPropertyRoomDataId 房间属性关系主键
     * @return 结果
     */
    public int deleteRoomPropertyRoomdataByRoomPropertyRoomDataId(Long roomPropertyRoomDataId);

    /**
     * 批量删除房间属性关系
     *
     * @param roomPropertyRoomDataIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRoomPropertyRoomdataByRoomPropertyRoomDataIds(Long[] roomPropertyRoomDataIds);

    List<RoomPropertyRoomdata> selectRoomPropertyRoomdataListByRoomId(Long roomId);

    void deleteRoomPropertyRoomdataByRoomIds(Long[] roomIds);

    void deleteRoomPropertyRoomdataByRoomId(Long roomId);
}